package com.xueyi.workflow.domain.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.util.Map;

/**
 * 启动流程数据传输对象
 *
 * @author xueyi
 * @date 2024-07-03
 */
@Data
public class StartProcessDto {
    
    /** 流程定义Key */
    @NotBlank(message = "流程定义Key不能为空")
    private String processDefinitionKey;
    
    /** 业务Key */
    private String businessKey;
    
    /** 流程变量 */
    private Map<String, Object> variables;
} 